<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>华为推送参数</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role" style="padding: 20px 30px 0 0;">

    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 160px;">HW_PUSH_SERVER</label>
        <div class="layui-input-inline" style="width: 430px;">
            <input type="hidden" name="id" id="id" value="{$qa.id}">
            <input type="hidden" name="mobile_brand" id="mobile_brand" value="huawei">
            <input type="text" name="HW_PUSH_SERVER" id="HW_PUSH_SERVER" required  lay-verify="required"
                   placeholder="" autocomplete="off" class="layui-input"
                  {if $send_config}value="{$send_config.huawei.HW_PUSH_SERVER}"{else/}value="https://push-api.cloud.huawei.com/v1/{appid}/messages:send"{/if}>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 160px;">HW_TOKEN_SERVER</label>
        <div class="layui-input-inline" style="width: 430px;">
            <input type="text" name="HW_TOKEN_SERVER" id="HW_TOKEN_SERVER" required  lay-verify="required" placeholder=""
                   autocomplete="off" class="layui-input"
                   {if $send_config}value="{$send_config.huawei.HW_TOKEN_SERVER}"{else/}value="https://oauth-login.cloud.huawei.com/oauth2/v2/token"{/if}>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 160px;">HW_FAST_APPID</label>
        <div class="layui-input-inline" style="width: 430px;">
            <input type="text" name="HW_FAST_APPID" id="HW_FAST_APPID" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{$send_config.huawei.HW_FAST_APPID}" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 160px;">HW_FAST_APPSECRET</label>
        <div class="layui-input-inline" style="width: 430px;">
            <input type="text" name="HW_FAST_APPSECRET" id="HW_FAST_APPSECRET" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{$send_config.huawei.HW_FAST_APPSECRET}" >
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <button class="layui-btn" lay-submit lay-filter="LAY-user-role-submit" id="LAY-user-role-submit">提交</button>
    </div>
</div>
<script src="/static/layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '/static/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form'], function(){
        var $ = layui.$
            ,form = layui.form ;
    })
</script>
</body>
</html>